﻿@model AncientLand.Service.Entity.News
@{
    ViewBag.Title = "添加最新时尚资讯";
}
@section Header{
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script type="text/javascript" src="@Url.Content("~/Scripts/xheditor/xheditor.js")"></script>
<meta name="description" content="古人坊艺术摄影 位于上海市浦东区尚博路366弄湾流域城96号别墅，由国家一级造型师，中国人像摄影学会会员沙伦先生创办，致力于挖掘中国文化，传播东方美学，打造最美中国风，力图在古典美学意境中挖掘当代女性的独特魅力，打造“古人坊”最美“中国风”独特的品牌理念，潜心研发的一系列当今最具收藏价值的艺术作品，再次掀起了一股重回汉唐的中国风时代.提供 艺术摄影，个人写真，婚纱摄影，婚纱照,古装摄影,婚纱照,儿童摄影，特色摄影，上海写真，上海婚纱，上海艺术写真，上海艺术摄影,添加时尚资讯。" />
}
<div class="page-contents clearfix">
    <div class="page-contents-wrap float-left">
        <div class="page-container">
            <div id="post-146" class="post-146 page type-page status-publish hentry">
                <h1 class="entry-title">
                    Add News</h1>
                <div class="clear">
                </div>
                <div id="commentform" style="width: 100%">
                    <div id="respond">
                        <h3 id="reply-title">
                            添加最新时尚资讯
                        </h3>
                        @using (Html.BeginForm())
                        {
                            @Html.ValidationSummary(true)
                            <p class="comment-form-author">
                                @Html.LabelFor(model => model.Title)<span class="required">*&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                @Html.ValidationMessageFor(model => model.Title)
                            </p>
                            <p>
                                @Html.EditorFor(model => model.Title)
                            </p>
                            <p class="comment-form-email">
                                @Html.LabelFor(model => model.Content)<span class="required">*&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                @Html.ValidationMessageFor(model => model.Content)
                            </p>
                            <p>
                                @Html.TextAreaFor(model => model.Content, new { @class = "xheditor", rows = "25", id = "news-content", style = "width:880px" })
                            </p>
                            
                            <p class="form-submit">
                                <input type="submit" value="【保 存】" id="submit" name="submit" />
                            </p>
                        }
                    </div>
                    <!-- #respond -->
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $('#news-content').xheditor({ upLinkUrl: "@Url.Content("~/Home/Upload")", upLinkExt: "zip,rar,txt", upImgUrl: "@Url.Content("~/Home/Upload")", upImgExt: "jpg,jpeg,gif,png", upFlashUrl: "@Url.Content("~/Home/Upload")", upFlashExt: "swf", upMediaUrl: "@Url.Content("~/Home/Upload")", upMediaExt: "avi" });
</script>
